<?php
declare(strict_types=1);

namespace LowCode\Naive;

use LowCode\Naive;
use LowCode\Support\JsExp;
use LowCode\Traits\Props\HasTag;

/**
 * 元素 NEl
 * @method static static make(mixed $children = null, string|JsExp $tag = 'div') El组件
 */
class El extends Naive
{

    use HasTag;

    public function __construct(mixed $children = null, string|JsExp $tag = 'div')
    {
        parent::__construct();
        $this->tag($tag)->children($children);
    }
}
